module.exports = {
  theme: 'yubisaki',
  title: 'HOME',
  description: `css animation`,
  head: [
    ['link', { rel: 'icon', href: `/favicon.ico` }]
  ],
  base: '/blog/',
  port: 9522,
  repo: 'https://github.com/LenGxin/blog',
  // 输出目录
  dest: '.vuepress/dist',
  ga: '',
  serviceWorker: true,
  evergreen: true,
  themeConfig: {
    background: `/images/`,
    github: 'LenGxin',
    logo: '/images/logo.jpg',
    accentColor: '#ac3e40',
    // 每页显示的文章数量
    per_page: 4,
    // 创建文章的时间格式, 不设则不显示 可选 [yyyy-MM-dd HH:mm:ss]
    date_format: 'yyyy-MM-dd HH:mm:ss',
    nav: [
      { text: 'Blog', link: '/blog/' },
      { text: 'About', link: '/about/' },
      { text: 'Github', link: 'https://github.com/guixianleng' }
    ]
  },
  markdown: {
    anchor: {
      permalink: true
    },
    toc: {
      includeLevel: [1, 2]
    },
    config: md => {
      // 使用更多 markdown-it 插件！
      md.use(require('markdown-it-task-lists'))
        .use(require('markdown-it-imsize'), { autofill: true })
    }
  },
  postcss: {
    plugins: [require('autoprefixer')]
  }
}